


#ifndef PF_PATTERN_H
#define PF_PATTERN_H

#include "pf_entitycontainer.h"
#include "lx_Export.h"

class PF_PatternList;

/**
 * Patterns are used for hatches. They are stored in a PF_PatternList.
 * Use PF_PatternList to access a pattern.
 *

 */
class LX_EXPORT PF_Pattern : public PF_Container {
public:
    PF_Pattern(const QString& fileName);
    virtual ~PF_Pattern();

    virtual bool loadPattern();
	
    /** @return the fileName of this pattern. */
    QString getFileName() const {
        return fileName;
    }

protected:
    //! Pattern file name
    QString fileName;

    //! Is this pattern currently loaded into memory?
    bool loaded;

	
};


#endif
